18 December 2017

The Wonderful World of the NHL

(Minus the newest expansion team, Vegas Golden Knights) Hockey!

What's So Special?

Hashtags!

Every team has their own specific hashtag! When you use the hashtag, their logo appears alongside. This encourages more people to use the hashtag, and interact with the team and fellow fans.

But What Does That Mean?

  • We can look at Tweets separated by the hashtag they use in order to get more information about attitudes regarding the team
  • We can see if interactions on Twitter, use of hashtags, sentiment analysis of Tweets etc. is indicative of team performance
  • Hockey fans are fun; they normally have something amusing to say, so reading the Tweets is cool
    Vegas2!

Word Clouds for Sentiment Analysis: "Good Teams"

Word Frequency for Good Teams

Word Frequency for Good Teams

Distribution of Sentiment Scores: "Good Teams"

Comparison Cloud of Sentiment Scores for Good Teams

Comparison Cloud of Sentiment Scores for Good Teams

Word Clouds for Sentiment Analysis: "Bad Teams"

Word Frequency for Bad Teams

Word Frequency for Bad Teams

Distribution of Sentiment Scores: Bad Teams

Comparison Cloud of Sentiment Scores for Bad Teams

Comparison Cloud of Sentiment Scores for Bad Teams

Average Sentiment Per Team

Comparison of Average Sentiment Scores by Team

Comparison of Average Sentiment Scores by Team

Correlation of Sentiment & Points

Correlation = 0.025
Scatterplot of correlation between average sentiment score and current number of points

Scatterplot of correlation between average sentiment score and current number of points

Map of All Negative Sentiment Use

Frequency of negative sentiments used for all teams

Frequency of negative sentiments used for all teams

Negative Sentiment Use in New York

Frequency of negative sentiments used for all teams: zoom on tri-city area

Frequency of negative sentiments used for all teams: zoom on tri-city area

Negative Sentiment Use in S. California

Frequency of negative sentiments used for all teams: zoom on Southern California

Frequency of negative sentiments used for all teams: zoom on Southern California

Map of All Positive Sentiment Use

Frequency of positive sentiments used for all teams

Frequency of positive sentiments used for all teams

Positive Sentiment Use in New York

Frequency of positive sentiments used for all teams: zoom on tri-city area

Frequency of positive sentiments used for all teams: zoom on tri-city area

Positive Sentiment Use in S. California

Frequency of positive sentiments used for all teams: zoom on Southern California

Frequency of positive sentiments used for all teams: zoom on Southern California

Residual Analysis of Designed Model

Following creation of an OLS model using the variables avgSentimentScore * totalSentimentScore, log(FollowersPerTweet), LengthofTweets, and Division, the following residual analysis showed somewhat random residuals, but not the best predictive fit.

The End